import Layout from '../../views/layout/Layout'

export default {
  name: 'otherdata',
  path: '/otherdata',
  redirect: '/otherdata/index',
  component: Layout,
  meta: { title: '健康管理', icon: 'example', roles: ['system', 'admin'] },
  children: [
    {
      path: 'productdesign',
      name: 'productdesign',
      component: () => import('@/views/modules/otherdata/productdesign/index'),
      meta: { title: '产品设计数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'Manufacturingprocess',
      name: 'Manufacturingprocess',
      component: () => import('@/views/modules/otherdata/Manufacturingprocess/index'),
      meta: { title: '制造工艺数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'personneloperation',
      name: 'personneloperation',
      component: () => import('@/views/modules/otherdata/personneloperation/index'),
      meta: { title: '人员操作数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'testcheck',
      name: 'testcheck',
      component: () => import('@/views/modules/otherdata/testcheck/index'),
      meta: { title: '检验检测数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'historicalfailure',
      name: 'historicalfailure',
      component: () => import('@/views/modules/otherdata/historicalfailure/index'),
      meta: { title: '历史故障数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'maintenancerepair',
      name: 'maintenancerepair',
      component: () => import('@/views/modules/otherdata/maintenancerepair/index'),
      meta: { title: '维护维修数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'operatingenvironment',
      name: 'operatingenvironment',
      component: () => import('@/views/modules/otherdata/operatingenvironment/index'),
      meta: { title: '运行环境数据', icon: 'international', roles: ['system', 'admin'] }},
    {
      path: 'addDevice',
      name: 'addDevice',
      component: () => import('@/views/modules/otherdata/Manufacturingprocess/addDevice'),
      meta: { title: '添加设备', icon: 'international', roles: ['system', 'admin'] },
      hidden: true
    },
    {
      path: 'createPerson',
      name: 'createPerson',
      component: () => import('@/views/modules/otherdata/personneloperation/create'),
      meta: { title: '添加人员', icon: 'international', roles: ['system', 'admin'] },
      hidden: true
    },
    {
      path: 'updatePerson',
      name: 'updatePerson',
      component: () => import('@/views/modules/otherdata/personneloperation/edit'),
      meta: { title: '修改人员', icon: 'international', roles: ['system', 'admin'] },
      hidden: true
    },
    {
      path: 'Manufacturingprocess/addDevice',
      name: 'addDevice',
      component: () => import('@/views/modules/otherdata/Manufacturingprocess/addDevice'),
      meta: { title: '添加设备', icon: 'international', roles: ['system', 'admin'] },
      hidden: true
    },
    {
      path: 'Manufacturingprocess/updateDevice',
      name: 'updateDevice',
      component: () => import('@/views/modules/otherdata/Manufacturingprocess/updateDevice'),
      meta: { title: '修改设备', icon: 'international', roles: ['system', 'admin'] },
      hidden: true
    },
    {
      name: 'productcreate',
      path: 'productdesign/create',
      component: () => import('@/views/modules/otherdata/productdesign/create'),
      meta: { title: '添加人员', icon: 'edit', roles: ['system', 'admin'] },
      hidden: true
    },
    {
      name: 'productedit',
      path: 'productdesign/edit',
      component: () => import('@/views/modules/otherdata/productdesign/edit'),
      meta: { title: '添加', icon: 'edit', roles: ['system', 'admin'] },
      hidden: true
    }

  ]
}
